#pragma once

class SpeedTester;

#ifdef PROFILER_ENABLED
#define SPEED_TEST volatile SpeedTester SpedTesterTempVariableHashEqu129304691273469012309242109734(__FUNCTION__)
#else
#define SPEED_TEST
#endif
void ProfilerInit(const char *szFileName);

class SpeedTester
{
public:
	SpeedTester(const char *szFunction);
	~SpeedTester();
protected:
	__int64 m_i64LastTime;
	const char	*m_szFuncName;
};